package com.itheima.work2.Controller;


import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.PostMapping;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RestController;
import org.springframework.web.multipart.MultipartFile;

import java.io.IOException;

@RestController
@RequestMapping("/hello")
public class BookController {
   private int id;

    @GetMapping("")
    public String hello(){
        System.out.println("hello");
         return "OK";
    }
}
